interface Person{
    firstName: String
    lastName: String
}

function greeter(person : Person){
    return "hello , " + person;
};

//let user = "wanghongbin";
let user = {firstName:null, lastName:null};
document.body.innerHTML = greeter(user);

function identity<T>(arg: T): T {
    return arg;
};